type github.com/klauspost/compress/flate.token
26 uses
github.com/klauspost/compress/flate (current package)
huffman_bit_writer.go#L826: func (w *huffmanBitWriter) writeTokens(tokens []token, leCodes, oeCodes []hcode) {
level1.go#L162: dst.tokens[dst.n] = token(v)
level1.go#L191: dst.tokens[dst.n] = token(matchType | uint32(xl)<<lengthShift | xoffset)
level2.go#L142: dst.tokens[dst.n] = token(v)
level3.go#L151: dst.tokens[dst.n] = token(v)
level4.go#L143: dst.tokens[dst.n] = token(v)
level5.go#L225: dst.tokens[dst.n] = token(v)
level5.go#L537: dst.tokens[dst.n] = token(v)
level6.go#L260: dst.tokens[dst.n] = token(v)
stateless.go#L269: dst.tokens[dst.n] = token(v)
token.go#L128: type token uint32
token.go#L136: tokens [maxStoreBlockSize + 1]token
token.go#L179: func indexTokens(in []token) tokens {
token.go#L185: func (t *tokens) indexTokens(in []token) {
token.go#L199: dst.tokens[dst.n] = token(v)
token.go#L206: t.tokens[t.n] = token(lit)
token.go#L278: t.tokens[t.n] = token(matchType | xlength<<lengthShift | xoffset)
token.go#L306: t.tokens[t.n] = token(matchType | uint32(xl)<<lengthShift | xoffset)
token.go#L312: t.tokens[t.n] = token(endBlockMarker)
token.go#L317: func (t *tokens) Slice() []token {
token.go#L335: var toks []token
token.go#L344: toks = append(toks, token(r))
token.go#L351: func (t token) typ() uint32 { return uint32(t) & typeMask }
token.go#L354: func (t token) literal() uint8 { return uint8(t) }
token.go#L357: func (t token) offset() uint32 { return uint32(t) & offsetMask }
token.go#L359: func (t token) length() uint8 { return uint8(t >> lengthShift) }
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |